package com.atguigu.gulimall.order.feign;

import com.atguigu.gulimall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @Classname MemberCartFeignService
 * @Description TODO
 * @Date 2021/10/14 10:34
 * @Author Anonymous
 */
@SuppressWarnings("all")
@FeignClient("gulimall-cart")
public interface OrderCartFeignService {

    /**
     * 得到所有选中的购物项信息
     */
    @RequestMapping("/currentUserCartItems")
    List<OrderItemVo> getUserCartItems();
}
